package com.适配器模式2.类适配器;

public class Client {

    public static void main(String[] args) {

        //原始播放--被适配者
        Player moviePalyer = new MoviePalyer();
        //调用适配器
        HGMoviePlayerAdapter hgMoviePlayerAdapter = new HGMoviePlayerAdapter(moviePalyer);
        String content = hgMoviePlayerAdapter.play();
        System.out.println(content);
    }
}
